@extends('layout/default')

@section('content')
<div class="container ">
    <div clas="row ">
    <form>
    @foreach($entries as $entry)
        <div class="col-xs-12 img-thumbnail list-group-item" style="margin-top: 1em">
                <div class="row">
                    <a href="{{URL::to('match/'.$entry->MID.'/detail')}}">
                    <div class="col-xs-12" style="position: relative">
                        <img class="list-img" src="{{asset(isset($entry->MTumb)?$entry->MTumb:'images/default.jpg')}}">
                        <div class="row">
                            <div class="col-xs-12 list-img-label"><div>{{$entry->MTitle}}</div></div>
                        </div>
                    </div>

                    <div class="col-xs-12 list-content">
                        {{$entry->MContent}}
                    </div>
                    <div class="col-xs-12" style="color:505050">
                        查看全文
                    </div>
                    </a>
                </div>
            </div>
    @endforeach




    </form>
    </div>
    <div class="row">
       <div class="col-xs-12">

            <?php echo $entries->appends(Input::all())->render();?>
       </div>
    </div>

</div>
@endsection
